package com.hs.mapper;

import com.hs.entity.CourseRating;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseRatingMapper {
    int deleteById(Integer id);
    int insertCourseRating(CourseRating record);
    int updateCourseRating(CourseRating record);
    List<CourseRating> selectCourseRatingAll();
    CourseRating selectCourseRatingById(Integer id);
}
